#ifndef __MODEL_UTIL_H__
#define __MODEL_UTIL_H__

#include "Face.h"
#include "Scale.h"
#include "Mesh.h"

namespace steam
{

	namespace coal
	{
		class ModelUtil
		{
		public:

			static void addVertex(Face* face, int v1, int v2, int v3);

			static void addNormal(Face* face, int n1, int n2, int n3);

			static void addTexCoord(Face* face, int t1, int t2, int t3);

			static IndexVector getVertexIndices(const IFace* face);

			static IndexVector getNormalIndices(const IFace* face);

			static IndexVector getTexCoordIndices(const IFace* face);

			static Mesh* duplicateMesh(IMesh* mesh, const base::Scale& scale); 

		};
	}

}

#endif